﻿using System.Web.Mvc;

namespace Home.WebUI.Areas.Mythi
{
    public class MythiAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Mythi";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            //单数据
            context.MapRoute("Single", "Mythi/Single/{singlename}", new { action = "Index", controller = "Single" });
            context.MapRoute(
                "Mythi_default",
                "Mythi/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional }
            );
        }
    }
}
